package org.rpgmapper.bo;

import org.rpgmapper.R;

public enum Environment {

	CAVE (R.drawable.cave),
	STREET (R.drawable.city),
	MOUNTAIN (R.drawable.moutain),
	FOREST(R.drawable.forest);
	
	private int drawableId;
	
	private Environment(int drawableId) {
		this.drawableId = drawableId;
	}
	
	public int getDrawableId() {
		return this.drawableId;
	}
	
	public static int[] ids() {
		Environment[] values = Environment.values();
		int[] ids = new int[values.length];
		int i = 0;
		for (Environment env : values) {
			ids[i] = env.getDrawableId();
			i++;
		}
		
		return ids;
	}
}
